using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class City
    {
        protected int _id;
        protected string _name = String.Empty;
        protected int _parentid;

        public City()
        {
        }

        public City(object id,object name)
        {
            _id =(int) id;
            _name =(string) name;
        }

      

        #region Public Properties
        public int Id
        {
            get { return _id; }
        }

        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        public int parentid
        {
            get { return _parentid; }
            set { _parentid = value; }
        }
        #endregion

       
    }
}
